package cn.stylefeng.guns.modular.system.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 产品包装尺寸表
 * </p>
 *
 * @author 小飞
 * @since 2019-06-27
 */
@TableName("package_size")
public class PackageSize implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 长
     */
    @TableField("length")
    private BigDecimal length;

    /**
     * 宽
     */
    @TableField("wide")
    private BigDecimal wide;

    /**
     * 高
     */
    @TableField("tall")
    private BigDecimal tall;

    /**
     * 毛重
     */
    @TableField("rough_weight")
    private BigDecimal roughWeight;

    /**
     * 净重
     */
    @TableField("net_weight")
    private BigDecimal netWeight;

    /**
     * 体积
     */
    @TableField("volume")
    private BigDecimal volume;

    /**
     * 产品品号id
     */
    @TableField("product_order_id")
    private Long productOrderId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public BigDecimal getLength() {
        return length;
    }

    public void setLength(BigDecimal length) {
        this.length = length;
    }

    public BigDecimal getWide() {
        return wide;
    }

    public void setWide(BigDecimal wide) {
        this.wide = wide;
    }

    public BigDecimal getTall() {
        return tall;
    }

    public void setTall(BigDecimal tall) {
        this.tall = tall;
    }

    public BigDecimal getRoughWeight() {
        return roughWeight;
    }

    public void setRoughWeight(BigDecimal roughWeight) {
        this.roughWeight = roughWeight;
    }

    public BigDecimal getNetWeight() {
        return netWeight;
    }

    public void setNetWeight(BigDecimal netWeight) {
        this.netWeight = netWeight;
    }

    public BigDecimal getVolume() {
        return volume;
    }

    public void setVolume(BigDecimal volume) {
        this.volume = volume;
    }

    public Long getProductOrderId() {
        return productOrderId;
    }

    public void setProductOrderId(Long productOrderId) {
        this.productOrderId = productOrderId;
    }

    @Override
    public String toString() {
        return "PackageSize{" +
        "id=" + id +
        ", length=" + length +
        ", wide=" + wide +
        ", tall=" + tall +
        ", roughWeight=" + roughWeight +
        ", netWeight=" + netWeight +
        ", volume=" + volume +
        ", productOrderId=" + productOrderId +
        "}";
    }
}
